package com.fary.service;

import com.fary.ProducerServiceApi;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProducerService implements ProducerServiceApi {

    @Value("${server.port}")
    private String serverPort;

    public String getUser(Integer userId) {
        return "每特教育,端口号:" + serverPort;
    }
}